package com.zhang.jul;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class JulDemo {

   private Log log =  LogFactory.getLog(JulDemo.class);

   public void test(){
       log.trace("trace");
       log.debug("debug");
       log.info("info");
       log.warn("warn");
       log.error("error");
       log.fatal("fatal");

   }


    //这是程序的入口
    public static void main(String[] args) {
        JulDemo julDemo = new JulDemo();
        julDemo.test();
    }
}


